package com.ceba.test.modules.statistic.dao;

import com.ceba.base.web.dao.IBaseDao;

import abc.ID;
import abc.data.store.IStore;
import abc.data.store.StoreManager;
import abc.object.IObject;
import abc.object.XObject;


public class CollectSignRADao  extends IBaseDao{

	
	/**
	 * 添加一条记录
	 * @return
	 */
	public Boolean add(float count,String date ) throws Exception{
		IStore store = StoreManager.create("collectsign_report_attach");
		IObject object = new XObject("collectsign_report_attach");
		object.put("ID",ID.getGuid());
		object.put("S_COUNT",count);
		object.put("SUM_DATE",date );
		object.setCreateTime();
		object.setCreateUser();
		
		if(store.insert(object)>0){
			return true;	
		}
		return false;
	}
	

}
